trigger myobjTriggerMigration on myobj__c (before insert) {

MyobjTesMigrtaion.validateData(Trigger.new);

}